home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000122_fdc@columbia.edu_Mon Dec 2 13:13:19 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  34 lines

  1. Article: 13903 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Differences when kermit executes a script vs. Interactive mode?
  6. Date: 2 Dec 2002 13:11:51 -0500
  7. Organization: Columbia University
  8. Lines: 17
  9. Message-ID: <asg7p7$d2a$1@watsol.cc.columbia.edu>
  10. References: <9c21afd5.0212020906.6963e3e5@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1038852713 6086 128.59.39.139 (2 Dec 2002 18:11:53 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 2 Dec 2002 18:11:53 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13903
  16.  
  17. In article <9c21afd5.0212020906.6963e3e5@posting.google.com>,
  18. Derek Chen-Becker <dbecker@cpicorp.com> wrote:
  19. :     I've been looking through the newsgroups and "Using C-Kermit" for
  20. : help with an issue I'm having. I am writing a file transfer script
  21. : that I would like to execute out of a scheduler, but I've run into the
  22. : issue that arrays and functions behave differently depending on
  23. : whether I'm in interactive mode or if I'm running the script. For
  24. : example, the following fragment works fine if I execute it
  25. : interactively from kermit, but fails with "Array &f undefined" if I
  26. : run it in the script:
  27. : define \%r \ffiles(*,&f)
  28. : array copy &f &s
  29. You want "assign", not "define".
  30.  
  31. - Frank
  32.